/* CmdLineParser$IllegalOptionValueException - Decompiled by JCavaj
 * Visit http://www.bysoft.se/sureshot/jcavaj/
 */
package jargs.gnu;

public class CmdLineParser$IllegalOptionValueException
    extends CmdLineParser.OptionException
{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private CmdLineParser.Option option;
    private String value;
    
    CmdLineParser$IllegalOptionValueException(CmdLineParser.Option option,
					      String string) {
	super("illegal value '" + string + "' for option -"
	      + option.shortForm() + "/--" + option.longForm());
	this.option = option;
	value = string;
    }
    
    public CmdLineParser.Option getOption() {
	return option;
    }
    
    public String getValue() {
	return value;
    }
}
